<!DOCTYPE html>
<html lang="en">
    <head>
        <title></title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <style>
            [v-cloak]{
                /* display: none; */
                color :brown;
                font-size: 400px;
                position: relative;
                left: 0;
                top: -400px;
            }
        </style>
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div id="app">
            <!-- 为指定元素添加样式，直到VM实例编译完成 -->
            <p v-cloak>{{msg}}</p>
        </div>
        <script>
            setTimeout(function(){
                var vm = new Vue({
                el: '#app',
                data: {
                    msg : '哈哈哈哈哈',
                }
            })
            },2000)
        </script>
    </body>
</html>